package sys.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import sys.core.ResponseResult;
import sys.entity.TbUserEntity;
import sys.entity.PageData;
import sys.entity.User;

import java.util.List;

public interface TbUserService {

    void add(TbUserEntity entity);

    void delete(TbUserEntity entity);

    void update(TbUserEntity entity);

    PageData<TbUserEntity> select(TbUserEntity entity);
    List<TbUserEntity> selectAll(TbUserEntity entity);

    /*PageData<TbUserEntity> likeSelect(TbUserEntity entity);
     */
    void exportExcel(TbUserEntity entity, HttpServletResponse response);

    ResponseResult login(User user, HttpServletRequest request);


}
